package edu.面向对象基础.构造方法;

public class TestStudent {
    public static void main(String[] args) {
        //使用构造方法可以再构造时直接传入数据
        Student stu1=new Student("张三",20);
        Student stu2=new Student("李四",20);
        Student stu3=new Student("王五",19);
    }
}
